import { computed } from 'vue';
import { useAppStore } from '@/store';


/**
 * desc 获取当前主题
 */
export default function useThemes() {
    const appStore = useAppStore();
    const isDark = computed(() => {
        return appStore.theme === 'dark';
    });
    return {
        isDark,
    };
}
